package mob;

import ui.*;

public class Creature {

  private char icon;
  private int [] color;
  public int mapX, mapY;

  public Creature(char ch, int r, int g, int b) {
    icon = ch;
    color = new int[] { r, g, b };
  }

  public void setLocation(int x, int y) {
    mapX = x;
    mapY = y;
  }

  public void setDisplay(ScreenChar sc) {
    sc.setChar(icon, color);
  }

}
